<#assign className = table.className>   
package ${basepackage}.service;

import com.xiaoshi.pojo.base.${className};
import com.xiaoshi.util.Paginator;

/**
 * ${className}服务接口
 */
public interface ${className}Service {

	public ${className} get(${table.idCol.javaType} id);
	
	public void save(${className} entity);
	
	public void delete(${table.idCol.javaType} id);
	
	public void update(${className} entity);

	/**
	 * 分页查询
	 * @param pagin
	 */
	public Paginator findByPage(Paginator pagin);
}
